{
  const adom = document.querySelector("nav > a");
  const uldoms = document.querySelectorAll("nav > ul");
  adom.addEventListener("click", function(event) {
       for(let i = 0; i < uldoms.length; i++){
         uldoms[i].classList.toggle("open");
       }
  });

}
